import request from '@/utils/request'

export const getsubjectstagsApi=()=>{
    return request({
        url:'/subjects?page=1&pagesize=100',

    })
}

export const getcompanystagsApi=()=>{
    return request({
        url:'/companys?page=1&pagesize=99'
    })
}

export const addquestionsApi=(data)=>{
    return request({
        url:'/questions',
        method:'post',
        data
    })
}

export const getdirectoryslistApi=(id)=>{
    return request({
        url:'/directorys?subjectID='+id
    })
}

export const gettagslistApi=(id)=>{
    return request({
        url:'/tags?subjectID='+id
    })
}